// pages/menu/menu.js
Page({
    data: {
        mainActiveIndex: 0,
        activeId: [],
        items: [
            {
                text: "青州",
                imgurl: 'https://img.yzcdn.cn/vant/apple-1.jpg',
                children: []
            },
            {
                text: "扬州",
                imgurl: 'https://img.yzcdn.cn/vant/apple-2.jpg',
                children: []
            }
        ]
    },

    onClickNav(e) {
        console.log(e)
        this.setData({
            mainActiveIndex: detail.index || 0,
        });
    },


});